
Install Custom Host Files

Version 1.1 (2015-02-21)
By BitFume (bitfume.com)

Description
Replaces the system hosts file with the one in the same folder as this script. The old hosts file is renamed "hosts_previous". A "hosts_default" file is also copied to the system hosts folder, just in case (it holds the system default host values).

Requirements
The included hosts and hosts_default sample files require Mac OS X 10.3, because they contains IPv6 entries. IPv6 is supported in 10.1, but only enabled by default in 10.3.

Instructions
1) Create a new hosts file and name it "hosts".
2) Place it in the same folder as this script.
3) Run this script to install the new hosts file.

Troubleshooting
If your hosts file is damaged or lost, restore it by using "Go to Folder..." to get to "etc/hosts", and create a text file named "hosts" with the following contents (be sure to remove the leading tab characters):

	127.0.0.1    localhost
	255.255.255.255    broadcasthost
	::1             localhost
	fe80::1%lo0    localhost

Temporary Override
To temporarily visit a web host blocked by your custom host file, simply use a web proxy service like www.quickproxy.us.
